<template>
  <div class="user">
    <h1>用户页面</h1>
    <p>当前用户ID: {{ $route.params.id }}</p>
    <router-link to="/users">返回用户列表</router-link>
  </div>
</template>

<script>
export default {
  name: 'User'
}
</script>

<style scoped>
.user {
  padding: 20px;
}
</style>